package com.pubinfo.passbook.common.model.http.GetReimbursementInformation;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@NoArgsConstructor
@Data
@AllArgsConstructor
public class WriteoffInstance implements Serializable {
  
  @JSONField(format = "yyyyMMdd", name = "beginDate")
  private Date beginDate;
  @JSONField(format = "yyyyMMdd", name = "endDate")
  private Date endDate;
  @JSONField(name = "items")
  @NotNull(message = "items不能为空")
  private List<WriteoffInstanceCode> items;
  
}

